home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-9.10-netbook-remix-PL.iso / casper / filesystem.squashfs / etc / network / if-up.d / avahi-daemon < prev    next >
Text File  |  2009-10-18  |  504b  |  16 lines

  1. #!/bin/sh
  2.  
  3. # Don't run the avahi-daemon unicast local check while bringing up
  4. # the loopback device; it's not necessary until we bring up a real network
  5. # device
  6. [ "$IFACE" != "lo" ] || exit 0
  7.  
  8. # Bail out if resolvconf is installed
  9. [ -x /sbin/resolvconf ] && exit 0
  10.  
  11. # If we have an unicast .local domain, we immediately disable avahi to avoid
  12. # conflicts with the multicast IP4LL .local domain
  13. if [ -x /usr/lib/avahi/avahi-daemon-check-dns.sh ] ; then
  14.   exec /usr/lib/avahi/avahi-daemon-check-dns.sh
  15. fi
  16.